package com.zhang.modules.mianShi.service.impl;

import com.zhang.common.jpa.entity.impl.BasePageCmd;
import com.zhang.common.jpa.service.impl.BaseServiceImpl;
import com.zhang.modules.mianShi.entity.MachineGroup;
import com.zhang.modules.mianShi.rep.MachineGroupRep;
import com.zhang.modules.mianShi.service.IMachineGroupService;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;


@Service
public class MachineGroupService extends BaseServiceImpl<MachineGroupRep, MachineGroup,String> implements IMachineGroupService {

    @Override
    public Page<MachineGroup> page(BasePageCmd pageCmd) {
        return getRep().findByDeleted(pageCmd.getPage());
    }
}
